remove unnecessary associations