plane all functions fixed