Corrections to KS-test