fixes #749, fixes tag alias related regressions