changed error message
fixed generation of web data