fix sourcemap generation