fix use application context