fix crasher so sources without location support actually save