remove NULL pointer test (dereferencing NULL)

references should never be null, actuall code does not compile under clang 3.5 that enforces that
please review
env: c++11, clang-3.5+, stdlib=libstdc++ (gcc4.8)
fixes #180