fixed spawn method in rooms