Fix inject cli command. fix #2795