eb: fixing basic restore functions