fix for rooms with spaces