fixes #510: added an option to get hidden value