put sandbox cfg to false
fix the version
fix default case switch mistake and refurbish the code