Council to invest £20k to stop course flooding