add xprofile support