Fixed incorrect delegate