bug main