fixed c/h variable name mismatch