fix the load memory instruction