minor bug fixes for automated installation