Removing unused fragments