Fixed append bug, should always be initialized