remove bad items from array. fix loupe