fix module references with uppercase names