add error when no definitions were found