fix type in bsbport_set