error fixes
Merge branch 'master' of https://github.com/mjwwit/smarttd