fromString() empty representation error fixed