correct some bug in association