handle options for dynamic values