add rl version check