quick NullPointerException fix