Fixed null pointer dereference.
Fixed null pointer dereference.
Fixed null pointer dereference.
Fixed null pointer dereference.
Fixed null pointer dereference.