fix error with latest NCC version