a little change

one bug about app delegate