handling of null date value