launcher: fix attach