clean draw functions