works on resetting _tail in delete methods