fixed strange time issue