Swapped order of params in koFactory.bind. Also corrected regression in bind