fix rebuilds failing