fix module unbinding