fix for date picker