Corrected case sensitive bug