Bugfix to doors and keys