Fixed Dismiss Bug