solved assert problem