got rid of error alert message