fix: naga return code was always 0