Remove redundant x