debug info fix
REmove unnecessary code
do_pwrite unalign fix - not finished