refactor check_load()