fixed issue with multiple date pickers