fix memory like (hopefully)