fix validators edit prototypes