[DEBUG] tag creation error correction