fixed bad reference in ignore room function