store latch next in temporary