Fixing stackoverflow error on DataProviderDSL