Could you provide a screen shot?
Avast shouldn't be your issue, and BattleEye shouldn't be your issue either (Though it should be what is disconnecting you)
It's possible you have remaining files on your pc from your original cheating that Battle eye detects.
Your best bet is to run some virus scans as said above, since most virus scanners pick up cheats as a virus (depending).
Other then that there's not much you can do (besides wiping your pc) without giving us a little more information on what's happening.