err in SELECT url FROM restopub WHERE id=