Remove rendundant endl
Move codes for IGNORED taggs