remove ok button, support link-written-type set