Fixing a dismiss warning