fix painting