fix some validation issues for coding style in ePayment SDK