Fixing -water error in template