fix uninitialized variable when mapping disk (fix #120)