remove unused code
assocx, oom bugfix