Default Boooting problem

Hey guys i need help!!!!! Ok so since i had my bootloader unlocked i tried flashing the motorola M image to take off the warning unlocked bootloader message then by using flashify to flash the M image and then i rebooted my device to see if the bootloader image has change but then it goes to the AP FLASHBOOT mood and on the bottom it says "boot failure". So is there anyway fixing these problem my device is DROID RAZR M RUNNING 4.4.2 kitkat XT907