removing irrelevant references