correct protected visibility to public