apply some repainting. fixes #46