Prevent crash.

Change-Id: Id30e6dfa14c08ecad5c15df6a79d20a5cdc50a59