whoops
rly fix template logic