fix bug on some not printed tags