remove unnecessary publics