fixed Initialize() call in application and service