fixed header state change parsing logic