Fixes to profile.xml