fix bug to allow stairs