strip whitespace from string fields
delete empty tag