fixed legion-smart-attach-daemon2