testfix for nullpointer