Null check. This should be good to go now.