cut of empty space from detector result