Fixed small bug (typo) in set_genes