change choose_type to integer in profile_candidates