adding fix for configs getting overwritten