NullException fixed.