fixed posting data from form to controller