fix bugs of rain command