fixed url
fixed syntax errors
fixed error messages