Cleanup some warnings; getHeader does not always return an array.