fixed getting of string/bytes options