Fixed the NPE that appeared out of nowhere