fix bug in assocx-main, test passed