bug fix for service test