fix another smarty error