fix infinite loop
rebuild