added check for no resume overwrite