Fix json for wmin, wmax