added proper conversion of bool header keywords