fix drawing