bug in find() found, fixed