fix bus in classdef