fixed find bug