hook trigger to tha_header_before