fix for room.params undefined