[FIX] fixed mmap problem