FIXBUG: s in finally is undefined if exception happens

and remove an uneccesary nested try
Merge pull request #501 from hvnsweeting/hvn_fix_postfix

FIXBUG: s in finally is undefined if exception happens