(win/setup) Minor fix on script
(library) Fix a crash on remove action