fix main fragment