Fixed a null object reference.
Fixed a null object reference.