fix checking from header in specs