Fix unintentional append bug