fixed error in xprofile