Fix a very stupid NPE