fix ashmem errors