removed threading from service
bugfixing