fix appearance of date and timepicker