fixing fast drawing functions