Trying to fix setHeaders issue reported