restore the require foreground setting