A teenager on his first flight alone was pulled into security and had his trip home canceled after gate agents figure out he was skiplagging, or booking a flight with the layover as the actual intended destination.

Logan Parsons was heading home to Charlotte, North Carolina, from Gainesville, Florida, by way of a ticket with an end point of New York City. While NYC was his stated destination on his ticket, Parsons planned to leave the airport in Charlotte and head home. It’s a way of saving money, as direct flights are often more costly, which means airlines hate it because they’re losing money in the process. Parsons was caught by a gate agent who became suspicious when his I.D.s were all for Charlotte. From Queen City News:

The purchased flight was from Gainesville, Florida to New York City with a layover in Charlotte. The plan was for the teen to get off the plane in Charlotte where he lives. His father says he would have never put his son in this predicament if he knew this would happen.

It was the first time Logan Parsons flew by himself.

“We’ve used Skip Lagged almost exclusively for the last five to eight years,” said Hunter Parsons, Logan’s father. “Booked a flight from Gainesville regional to JFK via Charlotte.”

The Parsons weren’t aware hidden city ticketing, also known as skip lagging, was frowned upon in the airline industry. An American Airlines representative canceled the ticket and made the family purchase a new direct flight ticket.

Parsons’ parents thought the airlines overreacted, especially when the passenger in question was a minor. American Airlines counters that skiplagging, or “hidden city ticketing,” is a violation of American Airlines terms and conditions.