should remove broken -1 layers