do not use constructor.name on the client side, ie cant handle it