fix deletiong belongs_to/belongs_to