hopefully releases memory