corrected param bug in find and findOne