fixing and translating datepicker