change send location logic