fixed bug in remove(); improved Branch() and getDict()