removed resids from graph