dropped duplicated logic for getting include references param, tabbing fixed