Stevie J has checked out of a drug rehab program, and celebrated his freedom by sharing a shirtless photo of himself. The “Love & Hip Hop: Atlanta” star has been seeking treatment since last month for a reported cocaine addiction and was allowed to leave in order to go to court for his ongoing child custody case.

According to Bossip, a judge let Stevie leave the program but only under the condition that he plead guilty to owing more than $1 million in back child support.

“A judge has ordered the producer turned reality star out of cocaine rehab and back to court next week for a hearing where he’ll admit his guilt in the case instead of going to trial,” the outlet reported.

The VH1 reality star was accused of falling behind on his court-ordered monthly payments of $8, 557 for his son and daughter. It was reported that by 2014, Stevie J owed $1, 107, 412. Last year, Stevie got in trouble over the money he owed but he pled innocent and was allowed out on bail. He was ordered to rehab in September for using drugs while awaiting a new trial for the child support case.

According to Page Six, Assistant U.S. Attorney Andrew DeFillipis said the music producer failed several drug tests and skipped several drug testing appointments.

Shortly after leaving the rehab program, Stevie took to Instagram to share a shirtless picture of him showing off his abs. It was his first time posting on social media in three weeks.

Stevie’s child support drama isn’t the only legal issue the “Love & Hip Hop: Atlanta” star is dealing with. He sued his ex Joseline Hernandez for defamation after she alleged that he molested his young daughter.

According to TMZ, Stevie thinks Joseline is running a “smear campaign” and his reputation has been damaged by her accusing him of inappropriately touching Eva, his 6-year-old daughter with his “Love & Hip Hop: Atlanta” co-star Mimi Faust. The outlet also reported that Stevie took issue with Joseline alleging he was gay and worshipped the devil. Stevie is suing her for damages and wants a judge to order her to stop publicly bashing him.