Fixed submission of form