protect nullpointer
goto version 1.0.0 beta