change some fields to public