delete wrong has_many relation