added general error message if something goes wrong