fixes for associationproxy