made sure to unmap memory