fix location submit on add event