Fixed error in storage model