fixing moles conversion issue