removes painter