fix variables in headers