fix totem build
Merge pull request #583 from pyhalov/totem

fix totem build