Fixed autocorrect snafu and added null check.