fixed functionality for plane