fixed errors in bob