fixing tidegauge structure