Remove some settings for frame.