Adjust scope variable