fixed errory regarding .find() that students is not an arry or a string