change default appspot domain and fix setup bug