Fixed room creation in the roomFactory