inject client in options