Small fix in leave room method