fixed bug in time sig handling