Fix stupide bug and cleanup. please merge

line 20 and 21 in opcuaserver.cpp if you want to know...