repare bug