solve nullpointer bug