fix typo: defined isntead of define