Default assert failed loki error when flashing cm 10.2

my phone has kitkat, so I used ioroot and autorec. when installing cm 10.2 stable, it fails and says assert failed: run_program("/system/bin/loki.sh") == 0

i found this thread: http://forum.xda-developers.com/show....php?t=2620733

Quote:
1) grab the latest CM distribution and copy the loki_flash, loki_patch, and loki.sh files out of /system/bin/ (or from https://www.mediafire.com/?y3ubxgnxzxq89f9, which are from the Tue Jan 21 13:05:13 PST 2014 CM11 Nightly) and
2) paste them over the /system/bin/ equivalents in whatever VS980 ROM you're having problems with,
3) rezip,
4) and clean flash the ROM in recovery.
should i do that? also, when installing roms, should i wipe system?

edit: that worked!