fixed bug (returing previous entry) and added CASRN