fix uninitialized-value bug
add empty headers