cleanup manifest remote header whitespace