fix perpetual build