assetsearch slight code cleanup