fix module ref from bin