fixed raintime issue