fixes dismissal