fixed warnings about unused valgrind results
changed cache behavior for none constant stores