Fix an scope issue