fix some lint errors about fragment class visibility