fixed bug in create-service introduced by v1 deprecation