fixing rdatepicker