fix documentaiton of from_string method