Fix pagination & datetimepicker