Some bugs corrected on the loader process