* fixed clang warning
* fixed clang warning
* replaced NULL with nullptr
* fixed warning
* fixed warnings
* fixed warnings