remove hardcoded http protocol