fixed bug - checking parameters instead of headers for the header tab