fixed a but in draw util