second NPE was resolved