correct ram values