fix bug in init
init_memory_mapping completed