fix for bottle template syntax change