Resolve Fragment crash