room Gen infinite loop error