fixed bug in objectFinder