Fix baseFragment bug