Fix na null exception.