fix freeroom error