Fixed error produced from multiple tags on one line