Sounds like you didn't wipe right when you flashed ... You may be able to fastboot boot recovery.img and wipe and flash the rom if not like the other user said
Tho Wipe first everything not your SD card ....
Relock your phone.
Run the 2.17 RUU exe and redo the unlock code and flash a recovery..
Fastboot boot recovery.img
wipe everything not SD card
HERE TO HELP.
Drop me a thanks if you liked the help.