Empty edge glitch removed