Fix scope value