fix for single layer selection
fixes for cut-ext tool