fixed #576 misalignment of new appended state