Updated

A 29-year-old man told authorities he had an “oh, s---“ moment when he realized he was carrying homemade fireworks on board a San Francisco-bound plane early Thursday morning at Philadelphia International Airport, MyFoxPhilly.com reported.

The Dallas, Pa. man was arrested after he allegedly tried to pass through the security gate with what was described by officials as a homemade bomb, the report said.

A background check of the suspect shows no initial ties to any terror group. The suspect told authorities that he was “just fooling around” with the explosives and forgot they were in his backpack. The bottle was reportedly filled with powder commonly found in fireworks.

He is reportedly accused of trying to board a plane with a plastic bottle of explosives and is being questioned by airport police.

Passengers on the 6 a.m.-flight to San Francisco were re-routed to another gate. The airport was not shutdown and there are no delays.

Please click here for more from MYFoxPhilly.com