add target option, fix disable