Fixed a quick NPE.