fixed toLowerCase get current platform