added simple error message for the browser