Fixed issue in date picker field