got rid of regex in profile printing routine