moved module load to beg