Default lately any rom i flash needs to be flashed twice

any ideas why this might be? after i flash it once, when i try to reboot system, i get a message that there is no OS. I then have to flash it again and it then is fine