registerService fix