fix SBT installation
fix user input validation