set the proper memory address