Fixed the NullPointerException