fix memory detection