adds validation to story id