Remove alert and line