fixing to use application plugin