fixed problem on saving data due to jquery change in serialization format