fixed globalize loading bug