tags parsing for Ways