added trimming of feature group names