fix log delete