remove hardcoded ref to localhost