fixed date picker when setting null