Fixing painting links