Some bugs in ammonito.py