Fixed getDoors implementation