fixed bug in autotester