A Manhattan appeals court has dealt pop singer Kesha a setback in her ongoing legal battle with her former producer, finding a lower court properly denied her bid to amend her filings to allege breach-of-contract claims.

In a unanimous ruling issued on Tuesday, a five-judge panel of the Appellate Division, First Department, said that Kesha’s proposed counterclaims against Lukasz Gottwald, who is known as Dr. Luke, were “palpably insufficient” and that her bid to get out of contracts with Gottwald’s production and publishing companies on the grounds that performance would be impractical because of the acrimonious relationship between the parties is undermined by the fact that she admitted that she continued performing under the contracts.