fixes removal of opp_ab from database