American Airlines working to fix problem