return 0 from native for boolean false