possible NullPointer resolved