fixed crash with locations that have more than 2 doors