Fixed some weird errors when landing