add upgrade warning
add loading sequence test and fix the bug of it and refactor others