hide public/private buttons