Fixed a potential null pointer exception