fixing typo regarding code type