fixed rain bug