Fix local storage for cube etc