raise error if assocation not found