A few fixes for auto profile saving.