fix variable inconsistencies