fix couple warning type issues when running install.rb