Avia, a Russian company that leases aircrafts is suing Boeing over its 737 Max 8 jets over breach of contract that happened when the company misrepresented itself saying the plane was safe to fly and alleges that as part of its competition with Airbus, Boeing puts profits ahead of safety.

The lawsuit was filed in an Illinois court where Boeing is headquartered.

The lawsuit stated that "Despite its representations" of complying with aviation regulations, Boeing made an aircraft "that was not safe for flight."

The company's 737 Max series, noted for its narrow-body, has four models with the Max 8 being the most popular because it has more legroom and a quieter cabin.

Airline companies also love the Boeing 737 Max 8 for its fuel efficiency.

Because of these, the aircraft had 4,000 orders within its first six months.

However, on October 29, 2018, the flight crew lost control of Lion Air flight 610 and the plane crashed on the Java Sea only 13 minutes from takeoff killing 189 passengers.

Then, on March 10, 2019, an almost identical situation repeated itself with Ethiopian Airlines flight 302. The pilot, after the distress call, was given clearance to return.

However, before the plane could make it back, it crashed 40 miles from the airport. This second and last crash took place six minutes after it left the runway killing 149 on board.

Since being grounded in mid-March, a new "potential risk" got discovered in June.

There is close to 400 grounded airplanes and though Boeing stopped the deliveries of its 737 Max 8, it continues to build them.

Boeing and several major airlines are to reach an agreement for a compensation for this delay.

Boeing has already taken a $4.9 billion after-tax charge in relation to potential concessions and other considerations to its customers.

All of these events are not boding well for Boeing's plans for its 797, its midsize airplanes.

Avia's ordered planes from Boeing was rescheduled last year to be delivered between 2022 and 2024 instead of 2019 and 2022.

Reason for the reschedule isn't known.

Russian Avia is now seeking punitive damages, wants to cancel its order and is looking for no less than $115 million for the losses and damages it says were brought about by Boeing's "wrongful acts and omissions."

In May, Boeing announced it has developed and flight-tested a software that will fix their aircraft.

Called MCAS, the software will have to review FAA (Federal Aviation Administration) and any air regulators worldwide who want to review it.

Boeing CEO Dennis Muilenburg said that the company is "committed to providing the FAA and global regulators all the information they need."

He also added that they are "making clear and steady progress" and the company is "confident that the 737 Max with the MCAS software will be one of the safest airplanes ever to fly."

Though it's not known when this Boeing aircraft will fly again, Muilenburg said he believes the plane will fly before the end of 2019.

Boeing's two crashes within five months and the sophisticated technology used by airplane makers these days prompted the creation of an international panel that would work with the FAA.