error handling compound names;smiles validation