lint and style fix for archive state