Fixed header bug

Added header variable