reverted string parsing