fix samwi headers issue