fixed the door issue