A JetBlue plane headed from JFK to Buffalo had to return to the airport for an emergency landing Tuesday morning, FAA officials said.

The Embraer 190 had just taken off at 6:48 a.m. when the plane’s crew noticed the cockpit was filling up with some kind of fumes.

The pilots immediately turned the plane around and landed back at the airport.

There were no reported injuries.

The FAA is investigating the incident.