reworked header recognizer
sync issues
s