fix wrong option groupid after restore

Signed-off-by:Eric Villard <dev@eviweb.fr>