fix in smiles generation