Default No os after wipe with twrp, please heeeellllpppp :`(

Ive got a very big problem, i tried to install cyanogen 11 on my moto g and i accidentaly marked internal storage too and now it says no os installed, PLEAAASSSSEEE HEEEELLPPP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
my phone has 16gb but when i see the storage it says 12gb so there must be installed the old android somewhere right??
ive backuped before swiping but i cant restore cause it seems like if there is nothing, did i swiped that too??
PLEASE HEELLLPPPPP, Im really new to android so im a totally noob, Please help me guys
:c rying: