bugfix

removed domain from the URL to make it more environment agnostic and
fixed an unterminated line of code.