fix bug in linking deployed version to current