remove trailing spaces
fix condition of testing configuration of tags

• remove trailing spaces