fix search prev block
Merge pull request #7 from masarakki/fix_prev_block

fix search prev block