fix errors and bus