Correct detect pieces