Corrected case bug