trying to hack around overwrite problem