popup date picker fix