fix internal storage