fix #690: make autoattach a network module