fix warning on exports for client side