fix module load issues