Make sure you enter the family name in the 'Last Name' field while the given names (First and Middle) in the 'First Name' field.

Note: All passenger names entered must appear as they are on the passenger's government-issued identification(s). All names must be in correct order and spelling. For International travel, names must match a valid passport. For Domestic travel, names must match a valid ID card.