fix bug
fix template filter bug