fix the wrong variable in create target