add alias cases and tidy code
improve not-install error message, complete cases