Problem with headers object - fixed