remove uppercase extensions
add lowercase extensions