bugfix in reinforcement, TODO in random field