remove legacy doc