fix add and find 'managed bug ' bug