fixed plane errors