removed unnecessary rootscope