fix resourceGraph