Fixed a possible null pointer