magic to fix drawing...