Fix log removal