fixed bugs in vmmap_map and do_fork