A case study of weir rehabilitation