Improve story id to work with quotes