minor improvement on auto-install