fixed a bug related to downloadIfOlder