removing serializing params to file since it is too slow