hot fix required_associations method