fixed an address mapping bug