fixed maxVal