Change variable locid to locid_del