adjust debug output, and fix one bug

If debug flag is set to 0, debug info will not output. Fix one bug(when
read hit page, read miss blocks)