remove attach, revert to ALLandTotal, fix all errors in check