REX folder fix