gf/fomosto: fixed a problem in timing parameter determination