fix check delegate if responds to selector