Fix hydro file adding bug