fixed bug in re-send logic - cleaned up commented out code