controller local storage patch