FIX restoring format