last fix on writing spk2trig.times