append/remove/index fixes