XS leaks: What they are and how to avoid them