fix plane layers