Made event delegate assignments case insensitive