Default Flashed the wrong S/W any advice

I Done something so stupid and now i need help to get my g3 back from the bricked world.
I was trying to root my install a new rom on my g3. but i flashed a custom recovery that changed my number from lg-d850 to k400l or something like that.
what did i do i went on xda to find a solution. but i made a big mistake i tryed to change my number in the build prop from k400l to d850 but i guess i didnt change all the lines in the prop i needed to change so when went to reboot it went to the lg logo screen and then straight to DL mode anyone have this problem?