order of 'All' corrected
fixed bug where a blank tag would be created