fix for broken templated stats command