Fixed bug on ram and ram tester.