fixing error in initialization of TagManager