fix memory specification bug
fix memory spc bug