fix to ngc snippet