moved scope setter to see if it fixes lightdm crash