remove redundant section at end