^ use filename instead profile name field for profile name
# fix wrong rename function