remove self-dependency