fixed firerain %% thread