fixed the service routing code. Should work properly now.