Remove unnecessary alerts and comments