smart case fix