changed order of variables in drawtext