Tempalte7 correct IF Condition - f7route

Any ides why this template are not correct rendered?
${$f7route.params.showres} definy works as standalone
But it shows both input fields as once

  {{#if $f7route.params.showres}}
        <input type="checkbox" value="1" checked="checked"  id="showRes"/>
		{{else}}
		 <input type="checkbox" value="1"  id="showRes"/>
		{{/if}}

thanks bro. overlooked this part of site before