caught last minute issue with the encoding directive
whoops, had a bug there for encoding