remove private flag