fixed island grouping problem