fix remote submit