added a missing callback to room init