restore foreground