Fixed incorrect scope injection