fix pdf content type