remove alert message for index