fix error on logging interval