bugfix paint