always use a locals variable as a param to render
fix return issue