made plugin work on header container element