Remove 1 when before X