Fixed submit form not clearing when submit clicked