modify loading type