removing the last of the unlogged statements