Fix bug in undefined object
Patch bug in undefined object.headers