remove duplicate delegate definition.