drawing error solved