Fix toLowerTowork for iOS