problem with find function