fixed bug which wouldn't allow the user alert to be cleared