bugfix undefined variable when no header actions performd
Merge pull request #7 from athlan/master

Declare variables