add validator to withdraw method editor