fix unwanted rebuilds