make private service work (but only if there is no public folder)