fixed bug with stairs