remove some unneeded functions in profile_custom