fixed error with reuglar expresson on profile name