SM Daemon - fix syntax errors