remove empty regions