add no coordinates check to set_location