NullPointerException behoben