Glitch fix with debug Messages