Fixing datepicker