fix submit offline