refactor release_target_password use