fix getwind bug