fixing issues with ks validations