Marriage without divorce

When i was 18 yrs i got married to someone and got divorced after 8-9 years. I have 2 kids from him.after that a guy who was my mutual friend raped me and after FIR we got married but from the day one he didnt take me to his house.he always came to my home only in weekends. He harrased me a lot mentally physically emotionally.i have 2 more FIR on him after marriage also. But everytime he said sorry and I continued with him. After 3 year i got to know that he was doing wrong thing with my daughter also.now he is charged with pocso. He filed divorced and i also want that so i didnt go to the court because one lawyer said that you will get divorced after 3-4 months ex parte. Now i have someone in my life who is very gud person. I never imagined my life beautiful before. He loves my kids too. I got married him. And we are living peacefully now i got to know that i am not divorced from that marriage. What can i do now?? I am worried. My husband who raped me took the divorce case back and i didnt know about that. I am not in contact with him from 3 years.