fixing beforecasting From date field