fixed return values of mta2.py