Hash mapping load/write fixes