bug correction : addValidation renammed to addValidator