fix for associations