Add a missing return value for stop_coor function