Fixed bug with parsing doors/keys