[fix] header output multiple times when searching for multiple items