fix error on n-card