tap_pl: fixed wrong class type in creation