Debugged errors in door creation
Debugged errors created while adding code for door creation