more semi-random changes to rl in hopes of getting it to work