fix bug setup