searchRoom(), some fixes