added try to vocabulary since the content type might not be installed yet