fixing epoch parsing