fixed profile REGEX bug