fixed the regression with the decorated example factory