fixed MGViewController issue; fixed waiting spinner