Fix bug in storage()