make some changes for tape compatibility