TypeError: Cannot read properties of undefined (reading 'replace') - Drizzle Team