bug in association matrix type