fix numtapes int/list bug