Fix bug when getting room config