patially fixed a bug in inv rl, which fix random states