meteType is not accessible on clint side so did changes, make it string