fixed the extra arg for non-parent tags