Rainactive bug fix