[fix] allow_attach