Restore Svyat's changes