Fix reporter function in the client side.