fix logging out bug with @atime