handle headers with spaces