fixing date picker