fixed bug in client module exports