fix(load): bad infinite loop