room bug fix