fixed parent applicationcontext refresh issue