fix for non-auto-submitted form