fixed issue that was causing repeat application of the log