remove unnecessary parts in f7