fix assoc
Merge branch 'master' of https://github.com/fujaba/SDMLib
fix order in assoc and some bugs