remove server parts of private pub