remove private config