bug fix createFromString now static