fixed "#pragma SAVE/RESTORE can not be nested"