fix bug with group builds