make some fields to protected.