fix module exports so it correctly requires