improve code, rename automatic_load_order as auto_load_error.