erase surplus dependency