fixing problem where soot-rb didn't keep mains