fixing module load order