Parse mode correctly