fix some load-all problems.