fix case where field is null
Release 4.0.1