Issue 147

fix some native warnings