fixed store issue in cpu
refactored pseudoram