code loading bug fixed