fix typo delgates->delegates