Fixed bug in spaces in profile names