xhr params fix