fixed draw issue