fix
save current state