Thanks for above, I am getting below when I preview my template before executing:
Warning! Problem with previewing the template: error during rendering: undefined method ‘#’ for NilClass::Jail (NilClass). Note that you must save template input changes before you try to preview it.
but when I save it with actual password it works fine. may be syntax is not correct what I am using?