clean up
fix autolink bug
remove link def