Fix a npe