rename typo => type part in every variable