fixing surface planes