Fixing append glitch