fix compact profiles
change the suffix for main files