fixed random for RST insert