fixed broken dispatch generator (exact cause still unknown)