drawing bug fixed