Remove unused scope variable