fix room bug