fixed rootScope minfication issue