fix typo

A small typo when calling negotiateMediaType method.