fixed minor door code