fix to date picker