Fixing a conflict in amwg.py