removing isolated scope