changed: fixed headers array format bug