fix small room bug