fixed service started check