fix a little loading bug