Selection flip X, Y and code cleaning