fixing beforecasting From State field 2