invalid assert in data storage fixed