xhr: fixed style issues