remove some useless value of ramdata