fix not to use A for main (not mainA)