Fix for nullpointer.