fix logger bug for cal time