fixing software bug in shortwake