repair init, remove bar debug