trying to set headers for pagoda.