a couple of bugs around nil are fixed

SVN=123423
3 files changed
tree: dc6d48354ffd9900daaa47be55edee67a72f7d9e
  1. doc/
  2. include/
  3. src/
  4. test/