changed some members to protected
fixing bug in the instantiation manager