added trigger of invalidChanged for clearErrors