Revert "improve attachaside"

This reverts commit d1709be3fc2ae6790afc4f53291b3efe9fc685e2.