take custom overridden profile name into account