fixed errors in find invocation