fix request_scheme if not exist