NullPointer behoben