Fix wrong typing of delegate name