Try before flash the rom, go yo wipe-advanced wipe an wipe dalvik/Art (2 times), data (2 times) and cache (2 times) separatly. And now go to install the rom
This problems happened to me when I try to flash the xiaomi.eu rom with a stable rom from xiaomi, but then I flashed with the developer rom and after the xiaomi.eu rom and never had any problem.