date picker and year picker issue resolved