ISSUE-192: Fix attached not work

#192