code fix for moisture n RILA