fixed survey submitting issue