fix
fix the min max