hotfix: typings for attach route