fixing doodle class