fix get empty room bug