scop variable properly