fixes a typo
use macro USER_DICTIONARY
fixes memory leak