wind was undefined in some cases