Mitigation of parallel RF potentials using TOPICA code