cleaned fragment_main