fix KS bounds