fixed angular console errors