fix loadFromString (no twice loading)