fixed nullpointer in notipanel