How to control dehydration and hydration attached with ions?