fix issue if no affected references