fix sourcemap issue in desktop version