remove last reference to system()