removed unneeded writes to the log