Removed applicationContext put in the wrong place