fix to use instance of memjs client