fixing bug with loading plane