Fixed related to issue #363 for generatedvalue