fixing core module load bug