possibly fixing the offset issue in the factorie interface