fix submit with relative path name