remove deprecated doc
remove incorrect example