[CDE-192]: fixed bug in getHeaders caused by boostrap resources