Fixed errors

-Fixed errors with new TERMINATE flight mode